home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGMISC
/
OVL312.LZH
/
OVL312.ARC
/
MASMTEST.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-01-11
|
663b
|
38 lines
;DOSSEG
.MODEL large
.STACK 100h
PUBLIC ov1message,ov2message,ov3message,mainproc
EXTRN ov1:PROC,ov2:PROC,ov3:PROC
.CODE
start:
mov ax,dgroup
mov ds,ax
mov dx,offset message
mov ah,9
int 21h
call ov1
call ov2
call ov3
mov ax,4c00h
int 21h
mainproc PROC
mov dx,offset mainmessage
mov ah,9
int 21h
ret
mainproc ENDP
.DATA
message db 13,10,"Hello from Masmtest.",13,10,'$'
ov1message db 13,10,"Hello from Overlay 1.",13,10,'$'
ov2message db 13,10,"Hello from Overlay 2.",13,10,'$'
ov3message db 13,10,"Hello from Overlay 3.",13,10,'$'
mainmessage db 13,10,"Hello from Mainproc.",13,10,'$'
END start